package code.lewdy.lottery;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**自动扫描邮件充值记录
 * @author Administrator
 *
 */
@Entity
@Table
public class MailRechargeRecord {
	
	private long id;
	private long ownerId; //用户平台id
	private String ownerName; //用户名
	private String serialNo; //序列号，唯一
	private String payerName; //付款人户名
	private String payerCardNo; 
	private String receiverName;//收款人
	private String receiverCardNo;
	private double amount; //充值金额
	private double bankPoundage; //银行手续费
	private double addPoundage;//为账户增加手续费，以抵消银行手续费
	private String bankDate; //银行记录交易时间
	private Date createDate; //平台处理时间
	private String note; //备注
	
	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getOwnerId() {
		return ownerId;
	}
	public void setOwnerId(long ownerId) {
		this.ownerId = ownerId;
	}
	@Column(length=30)
	public String getOwnerName() {
		return ownerName;
	}
	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}
	@Column(length=40)
	public String getSerialNo() {
		return serialNo;
	}
	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}
	@Column(length=30)
	public String getPayerName() {
		return payerName;
	}
	public void setPayerName(String payerName) {
		this.payerName = payerName;
	}
	@Column(length=20)
	public String getPayerCardNo() {
		return payerCardNo;
	}
	public void setPayerCardNo(String payerCardNo) {
		this.payerCardNo = payerCardNo;
	}
	@Column(length=30)
	public String getReceiverName() {
		return receiverName;
	}
	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}
	@Column(length=20)
	public String getReceiverCardNo() {
		return receiverCardNo;
	}
	public void setReceiverCardNo(String receiverCardNo) {
		this.receiverCardNo = receiverCardNo;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}
	public double getBankPoundage() {
		return bankPoundage;
	}
	public void setBankPoundage(double bankPoundage) {
		this.bankPoundage = bankPoundage;
	}
	public double getAddPoundage() {
		return addPoundage;
	}
	public void setAddPoundage(double addPoundage) {
		this.addPoundage = addPoundage;
	}
	@Column(length=50)
	public String getBankDate() {
		return bankDate;
	}
	public void setBankDate(String bankDate) {
		this.bankDate = bankDate;
	}
	@Temporal(TemporalType.TIMESTAMP)
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public String getNote() {
		return note;
	}
	
	

}
